/*
 用module.exports来向外暴露一个类，引用后可以用new的方式来创建对象
 * */
function People(name, sex, age) {
	this.name = name;
	this.sex = sex;
	this.age = age;
}
People.prototype = {
	sayHello: function() {
		console.log('helo '+this.name);
	}
}
module.exports = People;